package com.luzhikun.util;

/**
 * @Author Rookie Coder
 * @Description
 * @Date
 *
 * 代理工厂
 **/
public class SqlSessionFactory {

    // 传入被代理类对象。获取代理类对象
    public static Object getService(Object target){
       return new TransactionInvocationHandler(target).getProxy();

    }

}
